<div class="left">
<h2 class="titles">回复邮件</h2>
<?php echo $form->create('Message',array('url'=>array('action'=>'add')));?>
<table id="settings">
<?php
    echo $form->hidden('sender_id',array('value'=>$cuid));
    echo $form->hidden('user_id',array('value'=>$message['Message']['sender_id']));
?>    
    <tr><td class="name">回封信给：</td><td><?php echo $avatar->userLink($message['Sender']) ?><?php echo $linker->userLink($message['Sender']) ?></td></tr>
    <tr><td class="name">邮件主题：</td><td><?php echo $form->text('title',array('value'=>"re:".$message['Message']['title'],'class'=>'full-width')) ?></td></tr>
    <tr><td class="name">邮件内容：</td><td><?php echo $form->textArea('body',array('value'=>"\n\n\n\n\n
---------------------------------------------------------------------------------------\n\n".$message['Message']['body']."\n\n
---------------------------------------------------------------------------------------")) ?></td></tr>
    <tr><td></td><td><?php echo $form->end(__('写好了，发送！', true));?></td></tr>
</table>


</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>

		<li><?php echo $this->Html->link(__('返回收件箱', true), array('action' => 'index'));?></li>
		<li><?php echo $this->Html->link(__('返回发件箱', true), array( 'action' => 'outbox')); ?> </li>
	</ul>
</div>